package com.googlecode.futurecode.xproject.util.encode;

import com.googlecode.futurecode.xproject.util.XProjectConstants;

public class XProjectMd5PasswordEncoder extends MessageDigestPasswordEncoder {

    public XProjectMd5PasswordEncoder() {
        super("MD5");
    }
    
    public static void main(String[] args) {
		XProjectMd5PasswordEncoder passwordEncoder = new XProjectMd5PasswordEncoder();
		String encodePassword = passwordEncoder.encodePassword("123456", XProjectConstants.ENCODE_SALT);
		System.out.println(encodePassword);
	}
}
